/* pages/home/index.wxss */
/*适配480以上的ipad*/
/* 480/750=0.64*/
@function toPadPx($rpx){
  @return $rpx*0.64px;
}

@mixin pad-devices {
  @media (min-width:480px) {
    @content;
  }
}
.userinfo {
  width: 100%;
  height: 260rpx;
  display: flex;
  align-items: center;
  flex-direction: column;
  //justify-content: space-between;
  padding: 30rpx 0;
  color: #FFFFFF;
  //background-color: #0FB187;
  background-image: url();
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 50rpx;
  border-bottom-right-radius: 50rpx;
  @include pad-devices {
    padding: toPadPx(30) 0;
    height: toPadPx(260);
    border-bottom-left-radius: toPadPx(50);
    border-bottom-right-radius: toPadPx(50);
    margin-top: -3px;
  }
}

.user-avatar-con{
  width: 100%;
  height: 180rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  @include pad-devices {
    height: toPadPx(180);
  }
}

.userinfo-avatar {
  overflow: hidden;
  width: 140rpx;
  height: 140rpx;
  margin: 20rpx 20rpx 20rpx 50rpx;
  border-radius: 50%;
  @include pad-devices {
    margin: toPadPx(20) toPadPx(20) toPadPx(20) toPadPx(50);
    width: toPadPx(140);
    height: toPadPx(140);
  }
}
.avatar-img{
  width: 100%;
  height: 100%;
}

.userinfo-info{
  height: 80%;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  flex-direction: column;
  font-size: 24rpx;
  @include pad-devices {
    font-size: toPadPx(24);
  }
}
.user-name{
  font-size: 36rpx;
  font-weight: 500;
  margin-bottom: 18rpx;
  @include pad-devices {
    font-size: toPadPx(36);
    margin-bottom: toPadPx(18);
  }
}

.user-count{
  width: 86%;
  height: 80rpx;
  margin: auto;
  font-size: 24rpx;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20rpx;
  display: flex;
  align-items: center;
  justify-content: space-around;
  @include pad-devices {
    height: toPadPx(80);
    font-size: toPadPx(24);
    border-radius: toPadPx(20);
  }
}
.count-rule{
  background-color: #F0F8FF;
  border-radius: 30rpx;
  width: 128rpx !important;
  padding: 10rpx;
  font-size: 20rpx;
  font-weight: normal;
  color: #0FB187;
  @include pad-devices {
    border-radius: toPadPx(30);
    width: toPadPx(128) !important;
    padding: toPadPx(10);
    font-size: toPadPx(20);
  }
}
.tui-row{
  padding: 20rpx 20rpx 20rpx 0;
}
.tui-col__demo{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: 30rpx;
  margin-left: 20rpx;
  margin-bottom: 20rpx;
  //width: calc(100% - 20rpx);
  height: 140rpx;
}
.tui-col__img{
  flex: 1;
  text-align: center;
}

.tui-col__label{
  font-weight: bold;
  flex: 1;
}
.tui-img{
  width: 120rpx;
  height: 120rpx;
}

.footer{
  color: #999999;
  font-size: 24rpx;
  text-align: center;
  padding: 30rpx;
  position: absolute;
  bottom: 20rpx;
  @include pad-devices {
    font-size: toPadPx(24);
    padding: toPadPx(30);
    bottom: toPadPx(20);
  }
}
.tui-modal-custom-text {
	font-size: 40rpx;
	color: #333;
	padding: 30rpx 0 50rpx;
}

.subscribe{
  position: absolute;
  right: 50rpx;
  top: 20rpx;
}